#ifndef KMYWORLDCOMPONENT_H
#define KMYWORLDCOMPONENT_H

#include "KmyNode.h"


/**
 * map和sprite的基类，包含接口 render(KmyISanvas*, St_Rect* camera)
 */
class KmyWorldComponent : public KmyNode
{
public:
    KmyWorldComponent();

//    virtual void render(KmyICanvas *screen, St_Rect* camera) = 0;

    virtual int getGlobalX();
    virtual int getGlobalY();
};

#endif // KMYWORLDCOMPONENT_H
